#include <SDL2/SDL.h>
/**
 * @file      SDLWindow.h
 * @copyright (C) Copyright 2017, UT Technology Co., Ltd.
 * @brief     brief
 * @author    caiwang213@qq.com
 * @date      Sun Apr 30 21:26:39 CST 2017 
 *
 * @note
 *  note 
 */
class SDLWindow
{
public:
    SDLWindow();
    virtual ~SDLWindow();

    bool init(const void *winID);
    void render();

private:
    void free();

private:
    /* data */
    SDL_Window* mWindow;
    SDL_Renderer* mRenderer;
    int mWindowID;

    int mWidth;
    int mHeight;
};
